package FIleInpuSteam;

import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;

public class DataOutputStream {
    public static void main(String[] args) {

        try(FileOutputStream fo = new FileOutputStream("D:\\wc441.txt");
            FileInputStream fi = new FileInputStream("D:\\wc4.txt");
             DataInputStream w = new DataInputStream(fi);
        ) {
            System.out.println(w.readBoolean());


        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}
